package com.renli.mapper;


import com.renli.pojo.Login;
import com.renli.vo.UserUpdateVo;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

public interface LoginMapper {
    Login selectByName(@Param("username") String username);

    int insert(Login login);

    void updateUP(UserUpdateVo vo);

    Login selectByUserIdAndPassword(Map<String, String> map);
}
